function mess(post, where, json) {
    let xhr = new XMLHttpRequest();
    // let json;
    xhr.open(post, where);
    xhr.send();
    xhr.onreadystatechange = () => {
        if (xhr.readyState === 4) {
            json = JSON.parse(xhr.responseText);
            return json
        }
    }
}